﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;


namespace ASPItalia.ModelVirtualCasting.WPF.Common.Helpers
{
    public class DesignUnityContainer
    {
        private static Lazy<IUnityContainer> _current;

        static DesignUnityContainer()
        {
            _current = new Lazy<IUnityContainer>(() =>
            {
                IUnityContainer container = new UnityContainer();

                return container;
            });
        }

        public static IUnityContainer Current
        {
            get { return _current.Value;}
        }
    }
}
